#! python3
# Check the password Rule

import re

def checkPwd(password):
    if(len(password) < 8): 
        return 'False, length is less than 8'
    
    if re.compile(r'[a-z]').search(password) == None:
        return 'False, no lower case char'
    
    if re.compile(r'[A-Z]').search(password) == None:
        return 'False, no upper case char'
    
    if re.compile(r'\d').search(password) == None:
        return 'False, no Number'
    
    return 'True'

print('Input your password:')
print(checkPwd(input()))